var e = require("@/services/list");
Component({
  data: { list: {}, activeIndex: 0 },
  properties: {
    isShowBar: {
      type: Boolean,
      value: !1,
      observer: function (t) {
        if (t) {
          var i = (0, e.getUnearthedList)();
          this.setData({ list: i });
        }
      },
    },
    activeIndex: {
      type: Number,
      value: 0,
      observer: function (e) {
        this.setData({ activeIndex: e });
      },
    },
  },
  methods: {
    closeCard: function () {
      this.triggerEvent("onCloseBar", { isShowBar: !1 });
    },
  },
});
